<template>
  <header>
    <div class="community-img">
      <img src="../../../public/img/community-1.png" alt="" />
    </div>
    <van-search
      v-model="value"
      left-icon="search"
      placeholder="请输入搜索关键词"
      shape="round"
    >
    </van-search>
  </header>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
header {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  .community-img {
    width: 50px;
    height: 50px;

    img {
      width: 100%;
      height: 100%;
    }
  }
  .van-search {
    flex: 1;
  }
}
</style>
